/**
 * MenuListXM.java
 * Nov 14, 2013
 * Copyright: phongtdse60732@fpt.edu.vn
 */
package XMLEntities;

import java.util.ArrayList;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 * @author Lubu
 * @version 1.0
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "menuList" })
@XmlRootElement(name = "MenuList")
public class MenuListXM {
	@XmlElement(required = true, name = "Menu")
	private ArrayList<MenuXM> menuList;

	public MenuListXM() {
		super();
		// TODO Auto-generated constructor stub
	}

	public MenuListXM(ArrayList<MenuXM> menuList) {
		super();
		this.menuList = menuList;
	}

	/**
	 * Get value of the menuList
	 * @return the menuList
	 */
	public ArrayList<MenuXM> getMenuList() {
		return menuList;
	}

	/**
	 * Set value for the menuList
	 * @param menuList the menuList to set
	 */
	public void setMenuList(ArrayList<MenuXM> menuList) {
		this.menuList = menuList;
	}
	
	
}
